home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 1: Comms & Networking
/
Almathera Ten on Ten - Disc 1: Comms & Networking.iso
/
amiga-useful
/
amigancp15
/
developer
/
fd
/
ncp_lib.fd
Wrap
Text File
|
1995-05-10
|
2KB
|
59 lines
*
* Function Definitions for ncp.library 1.x
*
##base _NCPBase
##bias 30
##public
* Reserved
NCP_Rexx()()
* Big endian support
NCP_IWORD(iword)(d0)
NCP_ILONG(ilong)(d0)
* Channel handling
NCP_OpenChannel(myprocname,remoteprocname,flags)(a0/a1/d0)
NCP_CloseChannel(channel)(a0)
* Read I/O
NCP_Read(channel,buffer,len)(a0/a1/d0)
NCP_BeginRead(channel,buffer,len)(a0/a1/d0)
NCP_CheckRead(channel)(a0)
NCP_AbortRead(channel)(a0)
NCP_WaitRead(channel)(a0)
* Write I/O
NCP_Write(channel,buffer,len)(a0/a1/d0)
NCP_BeginWrite(channel,buffer,len)(a0/a1/d0)
NCP_CheckWrite(channel)(a0)
NCP_AbortWrite(channel)(a0)
NCP_WaitWrite(channel)(a0)
* big endian ptr support
NCP_IWORDP(ptrIword,dest)(a0/a1)
NCP_ILONGP(ptrIlong,dest)(a0/a1)
NCP_IWORDPI(ptrIword)(a0)
NCP_ILONGPI(ptrIlong)(a0)
* private!
##private
NCP_private1(info)(a2)
##public
* Async I/O support
NCP_ReadSig(channel)(a0)
NCP_WriteSig(channel)(a0)
* removed entries
NCP_dummy1()()
NCP_dummy2()()
* IBM850/Amiga charset conversion support
NCP_ibm2iso(ibmchar)(d0)
NCP_iso2ibm(isochar)(d0)
NCP_clnl(string)(a0)
* localized error strings
NCP_Fault(code,header,buffer,len)(d0/a0/a1/d1)
* use LINK process to run a process on the remote server
NCP_LinkRemoteRun(remotefname,cmdline,cmdlen)(a0/a1/d0)
* NCP OS 2.x Pool support
NCP_CreatePool(requirements,puddleSize,threshSize)(d0/d1/d2)
NCP_DeletePool(poolHeader)(a0)
NCP_AllocPooled(poolHeader,memSize)(a0,d0)
NCP_FreePooled(poolHeader,memory,memSize)(a0/a1,d0)
* return pointer to internal conversion tables
NCP_tab_ibm2iso()()
NCP_tab_iso2ibm()()
##end